<?php
$this->pageTitle = Yii::t('view', 'Perizinan');
$this->breadcrumbs=array(
	Yii::t('view', 'Perizinan') => array('izin/'),
	Yii::t('view', $data->perusahaan->bentuk_badan_usaha.'. '.$data->perusahaan->nama_perusahaan) => array('izin/read/'.$data->id),
        Yii::t('view', 'Surat Terkait')
);
?>
<div class="container">
    <div class="col-md-12">
        <div class="media">
            <a class="pull-left" href="<?php echo Yii::app()->createUrl('/suratTerkait/detail', array('id'=>$data->id))?>">
                <img class="media-object" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/surat-terkait.png" height="100" alt="">
            </a>
            <div class="media-body">
                <h2 class="media-heading">
                    <?php echo $data->perusahaan->nama_perusahaan; ?><h4><?php echo Yii::t('view','Surat Terkait');?></h4>
                </h2>
                <div class="col-md-12 row">
                    <div class="btn-group btn-group-sm"></div>
                </div>
            </div>
        <div class="col-md-13 view-list">     
            <div class="panel panel-default">
              <div class="panel-heading">
                <h3 class="panel-title"><?php echo Yii::t('view','Surat Terkait');?></h3>
              </div>
              <div class="panel-body">
                <?php $this->widget('booster.widgets.TbGridView',array(
                    'id'=>Yii::app()->controller->id.'-grid',
                    'type' => 'striped bordered condensed',
                    'dataProvider' => $model,
                    'responsiveTable' => true,
                    'columns' => $this->getIndexList($model),
                )); 
                ?>
              </div>
            </div>
        </div>
        <div class="other-kategori">
            <div class="form-inline pull-right">
                <a class="img" href="<?php echo Yii::app()->createUrl('/administrasi/detail', array('id'=>$data->id))?>">
                    <img class="img-responsive" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/administrasi.png">
                </a>
                <a class="img" href="<?php echo Yii::app()->createUrl('/teknis/detail', array('id'=>$data->id))?>">
                    <img class="img-responsive" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/teknis.png">
                </a>
                <a class="img" href="<?php echo Yii::app()->createUrl('/perizinan/detail', array('id'=>$data->id))?>">
                    <img class="img-responsive" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/perizinan.png">
                </a>
                <a class="img" href="<?php echo Yii::app()->createUrl('/suratTerkait/detail', array('id'=>$data->id))?>">
                    <img class="img-responsive" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/surat-terkait.png">
                </a>
                <a class="img" href="<?php echo Yii::app()->createUrl('/evaluasi/detail', array('id'=>$data->id))?>">
                    <img class="img-responsive" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/evaluasi.png">
                </a>
                <a class="img" href="<?php echo Yii::app()->createUrl('/pelaporan/detail', array('id'=>$data->id))?>">
                    <img class="img-responsive" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/pelaporan.png">
                </a>
                <a class="img" href="<?php echo Yii::app()->createUrl('/lainLain/detail', array('id'=>$data->id))?>">
                    <img class="img-responsive" src="<?php echo Yii::app()->theme->baseUrl; ?>/assets/images/lain-lain.png">
                </a>
            </div>
        </div>

    </div>
</div>
</div>